package com.dobbinsoft.iotechn.data;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;

import javax.sql.DataSource;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class})
public class FrameworkDataApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(FrameworkDataApplication.class, args);
        DataSource bean1 = run.getBean(DataSource.class);
        String[] beanDefinitionNames = run.getBeanDefinitionNames();
    }

}
